#ifndef INPUT_H
#define INPUT_H

#include <QFile>
#include <iostream>
#include <vector>

#include "src/scene/scene.h"

class Input{
    public:
        Input();
        ~Input();

        #if USE_CONSOLE
        std::vector<Object *> parseScene(QFile *, Scene *, bool = false);
        #else //USE_CONSOLE
        std::vector<Object *> parseScene(QFile *, Scene *, GLWidget * = NULL, bool = false);
        #endif //USE_CONSOLE

    private:
        QFile *file;
        bool tryObject(int, Object *, Object *);
};

#endif
